package com.log4jviewer.ui.preferences.additional;

/**
 * Class represents simple model for 'Table column settings' in additional preference page.
 * 
 * @author <a href="mailto:rd.ryly@gmail.com">Ruslan Diachenko</a>
 */
public class ColumnModel {

    private int columnIndex;

    private int columnWidth;

    private boolean isDisplay;

    public ColumnModel(final int columnIndex, final int columnWidth, final boolean isDisplay) {
        this.columnIndex = columnIndex;
        this.columnWidth = columnWidth;
        this.isDisplay = isDisplay;
    }

    public int getColumnIndex() {
        return columnIndex;
    }

    public int getColumnWidth() {
        return columnWidth;
    }

    public void setColumnWidth(final int columnWidth) {
        this.columnWidth = columnWidth;
    }

    public boolean isDisplay() {
        return isDisplay;
    }

    public void setDisplay(final boolean isDisplay) {
        this.isDisplay = isDisplay;
    }
}
